﻿/* http://weblogs.asp.net/kevinbrammer/archive/2008/05/31/asp-net-gridview-themes.aspx */

.AspNet-GridView
{
    font-family: Arial, Sans-Serif;
    font-size:small;
    table-layout: auto;
    border-collapse: collapse;
    border:#999999 1px solid;
}

.AspNet-GridView table { width: 100%; }
.AspNet-GridView table { width: 100%; }
.AspNet-GridView table.editgrid { margin:0px;}

.AspNet-GridView table thead
{
    background-image: url('HeaderWhiteChrome.jpg');
    background-position:center;
    background-repeat:repeat-x;
    background-color:#fff;
	border-bottom:solid 1px #999;
}

.AspNet-GridView table thead th
{
    padding: 5px;
    color: #333;
	text-align:left;
}

.AspNet-GridView table thead th a
{
    text-decoration:none;
    color:#333;
    display:block;
    text-align:left;
   
}

.AspNet-GridView table tbody tr td
{
    padding: 5px;
    border-right: solid 1px #999;
	background-color:#E4E4E4;
}

.AspNet-GridView table tbody tr.AspNet-GridView-Alternate td
{
    background-color: #fff;
}

.AspNet-GridView div.AspNet-GridView-Pagination
{
background-image: url('HeaderWhiteChrome.jpg');
    background-position:center;
    background-repeat:repeat-x;
    background-color:#fff;
	border-bottom:solid 1px #999;
}

.AspNet-GridView div.AspNet-GridView-Pagination a
{
color:#333;
    text-decoration:none;
    padding:2px 10px 2px 10px;
    border-top:solid 1px #fff;
    border-right:solid 1px #999;
    border-bottom:solid 1px #999;
    border-left:solid 1px #fff;
}

.AspNet-GridView div.AspNet-GridView-Pagination span
{
font-weight:bold;
    color:#333;
    text-decoration:none;
    padding:2px 10px 2px 10px;
}

.AspNet-GridView tr.AspNet-GridView-Empty
{
	color:#ffffff;
    background-color: #c9c9c9;
	 text-align:center; 
}

.AspNet-GridView tr.AspNet-GridView-Empty p
{ padding-top:20px;}

.formResults .AspNet-GridView table thead, .formResults  div.AspNet-GridView-Pagination
{
background-image: none;
}

html[dir='rtl'] .AspNet-GridView table thead th { text-align: right;}
html[dir='rtl'] .AspNet-GridView table thead th a { text-align: right; }
